/*
 * Funny Language - a free style programming language.
 * Copyright (C) 2015 by fanguangping (fanguangping@163.com)
 * dfa.h
 */

#ifndef MATCHER_H_
#define MATCHER_H_

#include "../fa/automata.h"

String match_one_arg(Statement *source);
String match_original(Statement *source);
String match_loop_statement(Statement *loop, Queue *replaceQueue, int matchTimes);
String eval_normal(Mapping *mapping, Queue *replaceQueue);
String match_internal(Statement *source);

#endif /* MATCHER_H_ */
